package com.ruoyi.recruit.service;

import java.util.List;

import com.ruoyi.recruit.domain.RecruitUserConfirm;
import com.ruoyi.recruit.domain.RecruitUserInterview;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 面试人员成绩Service接口
 * 
 * @author ruoyi
 * @date 2022-05-05
 */
public interface IRecruitUserInterviewService extends IService<RecruitUserInterview>
{
    /**
     * 查询面试人员成绩
     * 
     * @param id 面试人员成绩主键
     * @return 面试人员成绩
     */
    public RecruitUserInterview selectRecruitUserInterviewById(Long id);

    /**
     * 根据用户id查询是否存在笔试人员
     * @param userId
     * @return
     */
    public Integer selectRecruitUserInterviewByContentId(Long contentId);

    /**
     * 查询面试人员成绩列表
     * 
     * @param recruitUserInterview 面试人员成绩
     * @return 面试人员成绩集合
     */
    public List<RecruitUserInterview> selectRecruitUserInterviewList(RecruitUserInterview recruitUserInterview);

    /**
     * 新增面试人员成绩
     * 
     * @param recruitUserInterview 面试人员成绩
     * @return 结果
     */
    public int insertRecruitUserInterview(RecruitUserInterview recruitUserInterview);

    /**
     * 修改面试人员成绩
     * 
     * @param recruitUserInterview 面试人员成绩
     * @return 结果
     */
    public int updateRecruitUserInterview(RecruitUserInterview recruitUserInterview);

    /**
     * 批量删除面试人员成绩
     * 
     * @param ids 需要删除的面试人员成绩主键集合
     * @return 结果
     */
    public int deleteRecruitUserInterviewByIds(String ids);

    /**
     * 删除面试人员成绩信息
     * 
     * @param id 面试人员成绩主键
     * @return 结果
     */
    public int deleteRecruitUserInterviewById(Long id);

    /**
     * 导入面试人员
     *
     * @param userInterviewList 面试人员列表
     * @param operName 操作用户
     * @return 结果
     */
    public String importUserInterview(List<RecruitUserInterview> userInterviewList, Long recruitId, boolean isUpdateSupport, String operName);
}
